<!DOCTYPE html>
<style>
td, th {
    background-color: #ddd;
    border: 1px solid black;
}
.header {
    font-weight: bold;
    text-align: center;
}
.none {
    background-color: transparent;
    border: none;
    color: yellow;
    height: 8px;
}
</style>
<p>crbug.com/656232: Headers and Footers should repeat correctly in the presence of bottom captions.</p>
<div style="columns:3; line-height: 18px; column-fill: auto; height:112px; background-color: yellow;">
    <table>
        <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td class="none"></td><td class="none"></td></tr>
        <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
    </table>
    <table style="padding-top: 2px;">
        <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td class="none"></td><td class="none"></td></tr>
        <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
    </table>
    <table style="padding-top: 2px;">
        <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
        <caption style="caption-side: bottom;">Caption</caption>
    </table>
</div>

